using System;
using System.Linq;
using System.Runtime.Serialization;
 
namespace Model.Entity
{
    [DataContract]
    public class NewsVersionKey
    {
        private int _newsId;
        private int _versionId;

        public NewsVersionKey(int newsId, int versionId)
        {
            _newsId = newsId;
            _versionId = versionId;
        }

        [DataMember]
        public int NewsId
        {
            get
            {
                return this._newsId;
            }
        }

        [DataMember]
        public int VersionId
        {
            get
            {
                return this._versionId;
            }
        }
    }
}